package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司-供货商绑定关系对象 company_supply
 * 
 * @author ruoyi
 * @date 2025-08-01
 */
public class CompanySupply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 公司ID */
    @Excel(name = "公司ID")
    private Long companyId;


    /** 供应商ID */
    @Excel(name = "供应商ID")
    private Long supplyId;

    /** 公司填写的备注 */
    @Excel(name = "公司填写的备注")
    private String companyRemark;

    /** 状态0：待绑定，1：已绑定 */
    @Excel(name = "状态0：待绑定，1：已绑定")
    private String status;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String company;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String suppliName;

    /** 供应商联系人 */
    @Excel(name = "供应商联系人")
    private String sname;

    /** 供应商联系号码 */
    @Excel(name = "供应商联系号码")
    private String sphone;

    /** 平均服务评分 */
    @Excel(name = "平均服务评分")
    private Double starService;

    /** 质量评分 */
    @Excel(name = "质量评分")
    private Double starQuality;

    /** 准时评分 */
    @Excel(name = "准时评分")
    private Double starTimely;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }

    public void setSupplyId(Long supplyId)
    {
        this.supplyId = supplyId;
    }

    public Long getSupplyId()
    {
        return supplyId;
    }

    public void setCompanyRemark(String companyRemark)
    {
        this.companyRemark = companyRemark;
    }

    public String getCompanyRemark()
    {
        return companyRemark;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getSuppliName() {
        return suppliName;
    }

    public void setSuppliName(String suppliName) {
        this.suppliName = suppliName;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSphone() {
        return sphone;
    }

    public void setSphone(String sphone) {
        this.sphone = sphone;
    }

    public Double getStarService() {
        return starService;
    }

    public void setStarService(Double starService) {
        this.starService = starService;
    }

    public Double getStarQuality() {
        return starQuality;
    }

    public void setStarQuality(Double starQuality) {
        this.starQuality = starQuality;
    }

    public Double getStarTimely() {
        return starTimely;
    }

    public void setStarTimely(Double starTimely) {
        this.starTimely = starTimely;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("companyId", getCompanyId())
                .append("supplyId", getSupplyId())
                .append("companyRemark", getCompanyRemark())
                .append("status", getStatus())
                .toString();
    }
}